package com.joesem.sale.client.network.data

data class EventDetailsMode(
    val address: String? = "",
    val buy_channel: String? = "",
    val buy_date: String? = "",
    val contact_name: String? = "",
    val contact_telephone: String? = "",
    val create_time: String? = "",
    val create_time_format: String? = "",
    val created_by: Int? = 0,
    val created_type: String? = "",
    val created_type_text: String? = "",
    val customer: OrderDetailsMode.Customer? = null,
    val customer_id: Int? = 0,
    val customer_user_id: Int? = 0,
    val description: String? = "",
    val event_number: String? = "",
    val id: Int? = 0,
    val images: List<Image>? = listOf(),
    val products: List<OrderDetailsMode.Product>? = listOf(),
    val logs: List<OrderDetailsMode.Log>? = listOf(),
    val product: Any? = Any(),
    val product_id: Int? = 0,
    val project_name: String? = "",
    val receipt: ReceiptMode? = null,
    val status: String? = "",
    val status_text: String? = "",
    val type: String? = "",
    val type_text: String? = "",
    val update_time: String? = "",
    val update_time_format: String? = "",
    val creator: CreatorMode? = null
)

class CreatorMode(
    /**
     * 创建人id
     */
    var id: Int? = null,
    /**
     * 创建人名称
     */
    val name: String? = null
)